package com.yanyeori.seata.controller;

import com.yanyeori.framework.core.model.WebResponse;
import com.yanyeori.seata.client.ServiceAClient;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author chenkuan
 * @version v1.0
 * @desc 测试接口
 * @date 20/8/07 10:29
 */
@RestController
public class FeignController implements ServiceAClient {

    @Override
    public WebResponse rest(String param) {
        return new WebResponse<String>().data("seata-a被调用，参数：" + param);
    }
}
